<template>
	<view class="get-echarts">
		<view class="charts-box">
			<qiun-data-charts type="line" :opts="{extra:{line:{type:'curve'}}}" :eopts="eopts"
				:chartData="chartsDataLine1" :echartsH5="true" :echartsApp="true" />
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				eopts: {
					seriesTemplate:{smooth:true},
					column: {
						padding: [15, 15, 50, 5]
					}
				}
			};
		},
		props: {
			chartsDataLine1: {
				type: Object
			}
		},
		methods: {
		},
		created() {

		},
		mounted() {
			console.log('chartsDataLine1', this.chartsDataLine1)
		},
	}
</script>

<style>
	.charts-box {
		margin-top: 40rpx;
		width: 94%;
		height: 400rpx;
		margin: auto;
	}
</style>
